{% extends 'layout.html' %}
{% block main %}
    <div id="main">
        <div class="ym-wrapper">
            <div class="ym-wbox">
                <section class="box info">
                <!--
                    <div class="ym-grid">
                        <h4>常用港口 - 按目的港运价数量排列</h4>
                        <ul class="hlist-custom">
                            {% for mostport in mostports %}
                                <li><a href="{{ url_for('sea',unloadportid=mostport.PortID,unloadport=mostport.PortNameEn) }}" title="{{ mostport.PortName }}">{{ mostport.PortNameEn }}</a></li>
                            {% endfor %}
                        </ul>
                    </div>
                -->
                    <div class="ym-grid">
                        <h4>港口查询 - 按航线查询</h4>
                        <ul class="hlist-custom">
                            {% for line in lines %}
                                <li><a href="{{ url_for('searchport',lineid=line.LineID) }}">{{ line.LineName }}</a>({{ line.PortsCount }})</li>
                            {% endfor %}
                        </ul>
                    </div>
                    <div class="ym-grid">
                        <h4>港口查询 - 按国家查询</h4>
                        <ul class="hlist-custom">
                            {% for country in countrys %}
                                <li><a href="{{ url_for('searchport',countryid=country.CountryID) }}">{{ country.CountryName }}</a>({{ country.PortsCount }})</li>
                            {% endfor %}
                        </ul>
                    </div>

                </section>
            </div>
        </div>
    </div>
{% endblock %}
